using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Portal.BO.Editoral.Newsedit;

namespace Portal.GUI.EditoralOffice.MainOffce.editnews.k14
{
    public partial class BaiGoc : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string news_id = Request.QueryString["NewsRef"] != "" ? Request.QueryString["NewsRef"].ToString() : "-1";
                if (news_id != "-1")
                {
                    string extension1 = NewsEditHelper.GetExtension1ByNewsID(news_id);
                    string news_title = NewsEditHelper.GetNewsTitleByNewsID(extension1);
                    txtBaiGoc.Text = news_title;
                }
            }
        }
    }
}